package com.springstart;

import java.beans.PropertyEditorSupport;

public class DogPropertyEditor extends PropertyEditorSupport {
	
	public void setAsText(String text) throws IllegalArgumentException {
		String name = text + "is a dog";
		Dog dog = new Dog(name);
		setValue(dog);
		
	}

}
